//
//  ThemePostCell.m
//  BaseProject
//
//  Created by 王洋 on 2020/12/22.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "ThemePostCell.h"

@implementation ThemePostCell

- (void)awakeFromNib {
    [super awakeFromNib];

    [self.bgImageView sd_setImageWithURL:[NSURL URLWithString:B_THEMEPOST_INDEX_TAG] placeholderImage:[UIImage imageNamed:@"zhutitieba"]];

}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self pp_clipCorners:UIRectCornerAllCorners radius:6];
    });
}

@end
